﻿using System;
using System.IO;
using System.Reflection;

namespace TV_Organizer
{
    public static class Constants
    {
        /// <summary>
        /// The folder, within AppData where TV Organizer saves files (cache, config, ...)
        /// Connectors may use this folder as well. It is automatically created.
        /// </summary>
        public static readonly string LocalAppDataFolder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "TV_Organizer");
        public static readonly string LogFile = Assembly.GetExecutingAssembly().Location + ".log";

        static Constants()
        {
            Directory.CreateDirectory(LocalAppDataFolder);
        }

    }
}
